#include "hcvardefnode.h"
#include <gc.h>

hcvardefnode* hcvarfdefnode_create(hcidnode* name,
	hccodenode* type,
	hccodenode* value)
{
    hcvardefnode* node = (hcvardefnode*) GC_MALLOC(sizeof(hcvardefnode));
    node->node_type = NODE_VARDEF;
    node->var_name = name;
    node->var_type = type;
    node->var_init = value;
    node->to_xml = hcvardefnode_to_xml;
    return node;
}

char* hcvardefnode_to_xml()
{
    return 0;
}